problems 8, 9, 10