use preferred style for checking for NULL