create the new database for the new function