documented some code