added default to swtitch cases