working on REST Service