wip on more serialization stuff