getting stuff out of avr