modify constructor of refactoring operation