utility methods for null values