add callback examples.
add callback examples