adding template calls for missing elements