adding problem 41