added leftcompare