added the possibility to pass an array as first parameter
Merge branch 'arrayParam'