trying to get the ADC to work, sooo messy