added a new value on click for std cout