completed namespace and function section