add orderStateHelpers