nit: `else` after the brace, same line please.