@aarong there a few posts on backflush hierarchy, maybe running through that will help you with a standard function.