fixed some changes to file hw3