add comparison for expanded snippet