removed obsolete checkSensorTriggers function