change leg to array
Merge branch 'Eran'
Merge branch 'master' into Adar