refactored through loadRoomConfig