Added method for logic-flow sample
Probably no-one will miss this method apart from the sample, but for completeness it should be added