added ReST query