added second trigger Parameter for the second sensor