Added shift registration functionality