added new code for the create.db file