add option "remove doubles"