part 3/4 of course project 1