solution to problem 40 added