problem 3 added