changed paul_print to return a string