finished homework section 2