I usually return NAME when == null instead of nesting everything in the if, it's a little bit easier to read.