similarity version II finished