adding the appropriate templates