Demonstrate callback in sample.