added similarity calculator