added in template loading