implemented ExtremeItem, MinItem, MaxItem; and using them