api change to be more rest compliant