add options nEvents (useful for quick local tests)
Merge branch 'mywork'