agreed, this is a standalone function, not a class method.