template modifications