improved docstring; added comment