modified method to match course to resources tagged with units