documented code better