please assign value withURL to template in single statement