problems 3, 5, 8