added person logic