everything looks good just have to write a warning function for the symtable