typo fixed, so the array parameter will be given to the function with
array parameters
bugfix from fippo