added an initial compare mode