working on rest services