more prepratory work for lowering pass