Edited method in  Person2.java