adding debug info at top of pass