made addTables() local

Hope this helps if for whatever reason you already have a addTables() function