added wrapped toggle switch