+added second variant of the documentation with simple approach