adding array problems