refactor sensores