Trying to add the name of the put in to the click function