compare two variants