Trying to get courses in groups