modified part 2(g)
modified the part 2h