make AD template