removed doublets