re-worked outcome hash to support triggers