Part2 of the assignment is done