refactoring trans result