renamed get() to restGet()