finished ADC stuff