made the avr example a little more interesting