curry docstrings match original function