finished template and format sections