add callback example to the readme