resource controller