removed repeats of gems