rooms functionallity