example object matching (if they are of the same type)
speed improvements (now ok-ish)