problem 2 unfinished, problem 4 started