template works well so far