added dedupe example
minor fix