dim method for twTable