I suppose my thinking was, in order to keep only one return (or res.send in this case), I need a variable to hold the HTTP response code.