refazendo as tabelas