added power switch