Added addCallBack method suggested in issue #1