added documenation (closes #5)