signed flag added to signExtend and control, unused signal deleted