Modified for sensors HAL