added event db definition