starting refactor forEach
attempt at forEach loop