nit: please put the else on the previous line: `} else {`