This is my part 1 of the assignment