templates infrastructure