Write first function reference to use as a template for automation.