problem 1008 - rev 1