work on comparer class