adjusted part 4 of project