delete copy of similarity.java