checking headers