log array. it doesn't look like it's getting passed back correctly.