initial serialization