change the order to present the template