no it should be room==1 not =1 because it is in a if statment