reading from ADC added