solution to problem 190