Added comments to all our functions