put it back in a working state