lecture12_ranged variables preprocessing