Adding Arrays
Generalise function params to arrays