Simplified callback example.  Added error handling.