problem 6 added