Similar to:
There were two independent groups of students who took a school course by different modes.