Added comments to function