added very basic room logic