added init-ing tables