Call  when event happen