It's not really of immediate concern for me, but wouldn't it probably make sense to split the "serialize" function into a generic function and a bunch of methods? It's currently a giant typecase mudball. It would in any case be more extensible this way. Leslie -- My personal blog: http://blog.viridian-project.de/