available room logic completed