simple modifications; removes duplicates