click handler pulling in data