problem 7 added