mistake in createModel
mistakes in similarity