demonstrating how to call callback properly