Moved stage off global scope