refactor code to make interface to PersonProfile more congruent with Java standard practices