`IllegalStateException` correct here?