select students from available student list and assign courses to them