Finished Person 4 code.