add state.pickle