add templates. better parsing performance