Declarations collected

need to fix symtab not added to arraylist at start