added event trigger for apps to hook into