TODO: iterate dates on state search