get function out of global namespace