d2 - functions. return multiple values.