And a slight change to writing to the console