changed using for instead of .forEach()