modify template slightly