Comments

Added comment to the functions