added some examples to serialize