[TASK] rework the resource and method selection.