problem 18 added