about to change compare function