letting this work with null values