added examples of multiple callbacks and inline callbacks.