added event priorities