added some struct creation/initialization functions for symbol.c