Refactoring process method