use namespaces instead of passing results from a callback