added a custom comparer