Added sample of passing array as method argument