added event registration