switch selection added output statements