The `else` isn't necessary, at least, which would shorten it by 2 lines.