based on readings from which sensor