accounting for -R in course IDs