printing to the console