1st and 2nd template