Object creation + member function changed to namespace + free function