refactor to working state