starting part 3 of assignment