documentation on serialization