restResource generally work