improvements to csv reading ability