swtich(true) allowed