updated getroom function for independant loading of rooms