function serialization, more stats