added EventWriter