How to adjust this template?