adding the compare function