I'd move `NULL` to here (and I prefer not to use explicit returns, except for early termination of a function)`