Simplified the globe code.