start similarity part
merged old github code