problem 8 not quite finished