started working on rest service