Changed used syntax for room setup function