Refactor tanteo