working D events parser