add new documentation for methods

writing documentation for methods should be done in the code itself and
then the documentation generator should be ran