adds an explicit BaseTemplate var to make it more clear what the top-level template is expected to be