added ToNullFunction