improved the successful_request method