#3 all and unique overall implemented