AP2.2: created the database