clean up of AVR core interfacing