changed SensorTrigger to be instatiated every new request