Removing custom function