Modify the definition for Function