add default to switch