config function examples