implement room open/close.