docs for optional done