modify onclick sample