remove code for similarity ranking