started work on homework 5.