new rest adapter