made service more restful