Revert "Revert "added documentation""

This reverts commit dad43f53bb19aa793e3dec9e583cc946b63ef58e.