a classroom distribution scheme