started on problem 3