made a private html helper public
added docs