notes on serialization