issue #128 - implemented in callback mode