implemented API methods on Person