Collecting only unique strings