Added code to manage all sensors