head formatting