initial adc functionality