for(int i = 0; i < inventions.count; i++) { if(inventions[i].year < pre-beginning) exclude.add(inventions[i]); else console.writeline("start with a clean sheet, but ensure to notice any hush-hush secrets that companies might want to hide about the origins of their products."); }