completed 8.34 exercise