added semitable creation and filling