better to pass an object when triggering the events but some times we need to pass more parameters