improve Rest