implemented to manage several rooms