Fits data structures written correctly