added CustomFunction.cpp/.h