added hw3 changes up to line 104