Added custom new custom function and new functionality