power and switch