namespace and class resolution