Add namespace and global variable