Removed unneeded custom function.