adding nested arrays