Refactor with .any? in place of .each
Refactor with .all? in place of .each
Refactor with .find in place of .each
Refactor with .select in place of .each
Refactor with .reject in place of .each
Refactor to transform with .map and .collect