modification to printWelcome method