support integers and null values