finish problem3b