fruitless attempt to get arrays to work
more array fiddling