added structure of db file