Used the two additional methods in Lab2 as required