made changes for hw3