put in example of custom renderer and comparator