leaving as for loop is faster the .map