Finish homework 8.2