adds null_value method for code reuse