add reference to array