refactor something