First version
added documentation