added functors to Person example