fixed database structure