Commented Switch Event code.