added adc from valvano