processing the readings