added ending trigger
Merge remote-tracking branch 'origin/master'