room class works