Problem 3 added