implemented atmega88 version