Added break in default case of switch