refactor succeeded