make tables of db