passing array