added priorities and calls number to event handlers