modified the middlelayer symbol table