someone else's shift register code