Merged shift and clock into one