Implement newTable() method