getAvailableRoom() method finish.