completed phase 1 - 3 of OOP lab