moved selectors out of resources