run example using similarity feature