improved simplePerson example