add support for multiple arguments for array arguments