added the homework 6.5-8