figuring out serialization