added new constructor to Person class