added adc and timer stuff