addes a list of rooms to join, added some layers to the code