implement events with annotations, using anthracite
bugfix