adc may be working, needs testing
merged hopefully