Added comments on the methods functionality