replaced rest-client with rest_client