- added comparator for objects