added main_db file