updated the serialier for multiple deserializing