Trials of Serialization
Fixed memory leak