changed the structure of data base