ses adc implementation finished (not tested yet)