chap9 added ordinal number class