added a global variable space called Cave