Added comments to my functions