added adc stuff