Refactory processo to pasta