I don't understant your answer.....

Yes, I could create a global function but I should call it on every event....
isn't that true??