move arguments REST calls out of the old service