person.cpp updated for hash