before trying to be able to save state