create events for external research
fix style
second attempt at fixing style
last style errors
Fix indentation
fix indentation
more cleanup
Merge pull request #2014 from AEnterprise/6.1.x

create events for external research