adding main_db file