mostly assigning templates