This should be a function, not method.