Completed method for Person1.java