added @Override to compareTo