Templates corctly