fixing data output per discussion with Chris