added some help functions to FlowBaseClass