provide context and elaborate on similarity calculation