refactor ADC
format
bug....
refactor ADC
format
add comment