Nit: move that declaration closer to where we use it (`trigger`).