Modify in factory