add roomAdd function.