added a uniquify solution