Add ability to pass arrays as arguments