rest implementation working