Added no_duplicates feature | bugfixes