implement getOrdinal()

remove strict comparision