updated logic for room full