defined a class person with several attributes