add invert support to Table