Works as a REST service now