completed hw#3!