Anyone have code to do this? Just checking before I have to "re-invent the wheel" and write this code from the spec.