a database to store events