adds switching to method
adds global variable to switch out put from ding to dong and back