encoding person name print statement, relates to #3