refactorizando cpu original