handling of SOR/EOR and other special events