refactor commit