added date_range constraint