adds homework 4