add ability to define and call process and format callback
...