vector similarity implemented partially