add shift for slice selecting