changed output to be unique