pull data out of array