moved stored state to vial table