add setTable() method which loads init data