commit refactor code