epam refactor