typos and namespace issues