moved gender and date check logic to person class