beginnings of AVR class