specify priority of attached event
merge masterwq
implement some revision methods