Added sample debug statements to switch