added header docstring