added source trigger model
reformatted code
Merge remote-tracking branch 'origin/master'