make ds array elements show up properly, plus some stray formatting improvements