compare with length -1,0,1