added most of the event tags and replacement.