Renamed function that searches in courses