added enable/disable toggle.
removed debug line
added for case enable/disable toggle