corrected shift register behaviour (they were serilaizing backwards)