visiting mod + history serialisation