Use each instead of for