How the Great Wall of China Works