use core switch instead of regulator