Adjusting the template