switch to RESTAdapter