finishing parsing and event db