Comparing objects to determine which is a close match to the desired object