Improved theory and experiment with new table concept.
Merge two versions
Merge no. 2.