stuff added for homework 3
more added