Altering compareTo in re: code.