Added functionality to person model