Added newline
Refactored every each to remove a selector for every loop