write appendixB(Shiftis