on the verge of ...

to the dismay of ...