printing out to the console