now working with external ADC