some tornado utils helper