pass array