database example adjusted