add flux
add events