the rest of readListPointer