Added problem 6