tested and refactored tbl2Point class