lib/ add some documentation