The example does not work with a record: ``` public record Book(String name, double price, boolean available) {} ``` I guess the reason is, that the record accessor methods are named `name()`, `price()`, ... and not `getName()`, `getPrice()`?