adding new data to arrays