parameter checking simplified for new events
Merge remote-tracking branch 'origin/master'