nit: the break should be in the same indentation level as the case