done problem 6