h2 detection