added some database structure