hooray for inconsistent variable names in templates!