non_duplicate method and updated readme