creating an Events Generator
test.js merge