setStructPointer, setListPointer. still buggy