more serialization logic
example uses serialization
0.2.1