base of rest-handler
changes in rest-handler