refactorizando version 1