modifying room checking