template solved