tested and refactored the tbl2Point class