formatting of pending events