Trying again ...

This should be a class with a class method instead of a global function