formatted header and input