taking a stab at the doc generation!