edit/delete resting functions