Works from APCS2 Class