now using 2 shift registers