working on compareBasis