Use function as default value