finished template format. Still need to fix overflow.