That's not too bad ... I'll give it a shot -- that's pretty similar to the code for writing tags.