nit: spaces near `else`