Refactor minimo