chapter08 an example about the OOP