Check room Ids before
Refact