trigger transformations refactoring