Problem 4 rewritten, Problem 5 added