function namespaces partially work