adding part of sensor-handling code, not activated yet, i will implimented std::weak_ptr or simmilar as repleacement for the current pointer