add debuggingFun