resources functionality