for AC or DC