coding #37 agregando refactor... requiere code review