Adding comments

Adding functions comments