still working on serializing stuff