added event handler priorities