some more serialization stuff with gender