additional stuff and buffered arrays

more than 2 arrays exceeded the sram so i had to use progmem