check for NULL not != 0