add a member function to dump the contents of variable table