for loop instead of underscore each