added an off switch