changes for homework 3