Be sure to indent your code to make it clear what's inside the `while` loop. Like this:

```
while i < x
  if x % i == 0
    return false
  end
  i += 1
end
```

Note I've also added spaces around the `%`, `==`, and `+=` for readability.