added problem3a