finalized the serial snapshotting code, testing is the next step