working problem3