add doccomments
apache2/mit dual license