added table creation and insertion of data