Chapter4 Example11: removed redundant field