we could move this String conversion to `#state=` method