adding homework 4