document as kwarg