Add comments to the function definitions