finished homework 6