Use 'log' instead of 'STDOUT.puts'