removed static Comparator reference in code