Improve the frac template
Improve templates