implement sound serialization