added eventplot