cosine similarity added