corrected template