How does a dog go from on to off