moved room list to a global variable.