slack out the branch pattern too
functions now emit complete event completely.