refine comp docstring