Extracted on_off()