Avoid the use of STDOUT.puts where possible