added templates to core