Added function to person