This is my part 2 of the assignment