Syntax error using each instead of times.