def template(geom='', jobtype='optimize', basis='svp'):
    """
    Returns a template with the specified geometry and other variables
    :param geom: geometry
    :param jobtype: type of job to run (single point, optimization, frequencies)
    :param basis: basis set to use
    """
    return f"""{{ "bagel" : [

{{
  "title" : "molecule",
  "symmetry" : "C1",
  "basis" : "{basis}",
  "df_basis" : "svp-jkfit",
  "angstrom" : false,
  "geometry" : [
  {geom}
  ]
}},

{{
  "title" : "{jobtype}",
  "method" : [ {{
    "title" : "rohf",
    "nact" : 0,
    "thresh" : 1.0e-10
  }} ]
}}

]}}
"""