new logic for sections and lectures