added tomdoc docs