added break; to solve