rest interface improved