add better way to inject in global namespace