- check if arrays are well passed to functions

