Is there any chance `machines` could be null?