one-way serialization