nit: extra space after else