Added shift register class