add docstring describing target and metric