docstrings
return standart errors