nit: can you put `} else {` on the same line?