moving callBack function outside of SignalProcessor class