edited for Person4 code