deleted compare function