implements Table and toString/insert methods