started functions to read/write symbols (unfinished)