does it work fine when the class is in the global namespace ?