Simplify shift register example