using activated template