Cosine diff added