Part 4
part 5 unfinished