refactor the traffic store.