reorganized REST calls