changed rest interface