using modified templates