. "perform such duties as provided by law" . . .