Arduino two encoder reading

there is only 2 hardware interrupt support, this is not enough, the cards I use contain atmega328p