events trigger working
events trigger working
events properly working
fix to scope