provide a format function when "required"