added break; statements where missing