Use NULL pointer instead of 0