Why null check is bad in this case? It's perfectly OK, I think