added some functions for printing things to the screen