a tool used for local serialization