add methods and attributes to person class