create template sources