implemeting adc