added documantation where missing.