add copyright
Merge commit 'b0079d5328d1513a6d268ddaaa4bea5ae7e9ae80'
fix mysql bug in outcome