adding namespaces to function calls