added variables for light trigger limits