mods for part 3 of hw3