added header and body templates