Delete custom function