all done except contiguous mode