Formatting and minimalize tpl