For class project homework 5