work on wrapper serialization