working on module events