added nickname to hash and printed out the nickname from hash