is there a missing `break` here?