started using success and error handlers