adding error output and comments

better error reporting, tests for new fields

better error reporting, tests for new fields

starting on partitioning the data

smaller
changes
changes