getting rid of tables method