Submitted homework 7