tweaked code docs.